package y23.Jun;

class Movie{
    String title;
    String genre;
    int rating;
    void playIt(){
        System.out.println("Playing the movie");
    }
}

public class Test17 {
    public static void main(String[] args) {
        Movie movie1 = new Movie();
        movie1.title = "Gone with the Stock";
        movie1.genre = "Tragic";
        movie1.rating = -2;
        movie1.playIt();
    }
}
